package syntaxtree;
import visitor.Visitor;
import visitor.TypeVisitor;

public abstract class Type {
  public abstract void accept(Visitor v);
  public abstract Type accept(TypeVisitor v);
  public boolean equals(Object o)
  {
	  // To see if two types are equal, we just need to see if they pertain to the same class type
	  return this.getClass().equals(o.getClass());
  }
}